package se.webbzon.oschi01.gui;

public class MainModelEvent {
	
	public enum Action {WORLD_CHANGED, DIMENSION_CHANGED, REGION_CHANGED, CHUNK_CHANGED, DATUM_CHANGED}; 

	private Object source;
	private Action action;
	
	public MainModelEvent(Object source, Action action) {
		this.source = source;
		this.action = action;
	}

	public Object getSource() {
		return source;
	}

	public Action getAction() {
		return action;
	}
	
}
